﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.PushNotifications
{
    public interface IPushNotifications
    {
        void AddPushNotification(int userId, Uri uri, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        void RemovePushNotification(int userid, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        void RemovePushNotification(Model.PushNotification notification, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        void AddPushNotification(Model.PushNotification notification, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        Uri GetPushNotification(int userId, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        Uri GetPushNotification(Model.User user, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        bool DoesPushNotificationExists(int userId, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);

        bool DoesPushNotifcationExists(Model.User user, ref NutriLeaf.Web.Model.NutriLeafDBEntities context);
    }
}